<?php
$host =  $_SERVER['SERVER_ADDR'];
switch ( $host ){
    case "192.168.3.214":
        $domian = "http://www.wx_shop.site";
        break;
    case "192.168.1.213":
        $domian = "http://www.wx_imooc.site";
        break;
    default:
        $domian = "http://shop.wechatcollage.com";
}
return [
    'title' => '微信商城',
    'adminEmail' => 'admin@example.com',
    'default_path' =>[
        'blog' => 'http://www.baidu.com'
    ],
    "domain" => [
        'www' => $domian,
        'm' => $domian.'/m',
        'web' => $domian.'/web'
    ],
    "upload" => [
        "avatar" => "/uploads/avatar",
        "brand" => "/uploads/brand",
        "book" => "/uploads/book",
    ],
    "weixin" => [
        "appid" => "wx202bef924517843a",
        "sk" => "d4624c36b6795d1d99dcf0547af5443d",
        "token" => "weixinshop_2080_ssz",
        "aeskey" => "0mXA1tFIKWqp01saM2Yb7m0HgAhaOHrMkvk1PAGg3hs",
    ],
];
